package service;

import pojo.Book;
import pojo.Page;

import java.util.List;

public interface BookService {
    void addBook(Book book);
    void deleteBookyById(Integer id);
    void updateBook(Book book);
    Book queryBookById(Integer id);
    List<Book> queryAllBook();
    Page<Book> page(int pageNo, int pageSize,String url);
    Page<Book> pageByPrice(int pageNo,int pageSize,int min,int max,String url);

}
